home *** CD-ROM | disk | FTP | other *** search
- 10 !# RE-SAVE "CONFIG"
- 20 !
- 30 !# N O T E
- 40 !# This configuration file allows you to customize certain parameters of
- 50 !# BPLUS. Invalid values can render BPLUS practically unusable, until
- 60 !# corrected. Before modifying any values, make sure you understand the
- 70 !# effects of your changes.
- 80 !
- 90 !# The HTBasic for Windows SETUP program makes no attempt to preserve any
- 100 !# modifications to any existing CONFIG file(s).
- 110 !
- 120 !# This BPLUS CONFIG file MUST be SAVED/RE-SAVED into a regular DOS type
- 130 !# file. If you use any editor other than HTBasic for Windows, save the
- 140 !# file as standard ASCII text. In this case, the line numbers through
- 150 !# initial exclamation point (e.g., "120 !") are optional. If using the
- 160 !# HTBasic for Windows editor, use one of the following methods to save
- 170 !# this file:
- 180 !
- 190 !# a. RE-SAVE "CONFIG" into copy of original CONFIG (preserves file type).
- 200 !#
- 210 !# b. CONFIGURE SAVE ASCII OFF
- 220 !# SAVE "CONFIG"
- 230 !#
- 240 !# c. CREATE "CONFIG",1
- 250 !# RE-SAVE "CONFIG"
- 260 !
- 270 !# BPLUS searches for CONFIG (after LOAD BIN "BPLUS" or SCRATCH A) in the
- 280 !# following locations (listed in search order):
- 290 !# CONFIG in current MSI
- 300 !# $HOME/CONFIG ($HOME is typically your login directory)
- 310 !# install location on current msus, typically /HTBWIN/CONFIG
- 320 !# /PLUS/CONFIG on current msus
- 330 !# if current msus <> install msus, repeat above two for install msus
- 340 !
- 350 !
- 360 !@ system MSI
- 370 !# The directory and (optional) msvs of the location BPLUS first looks for
- 380 !# ancilliary files (widgets, bitmaps, help, etc.), e.g., C:/BPLUS
- 390 !# C:/BPLUS
- 400 !
- 410 !@ system font
- 420 !# The default is that used by HTBasic for Windows; otherwise, specify
- 430 !# request in <width>X<height> format, e.g. 8X16
- 440 ! default
- 450 !
- 460 !@ SLIDER widget
- 470 ! initial_delay 500 # Delay before auto-repeat starts (milliSec.)
- 480 ! repeat_delay 100 # Delay between auto_repeat scrolls (milliSec.)
- 490 !
- 500 !@ context help
- 510 ! provide_defaults true # Default widget's help topic is widget's name
- 520 ! f1_is_help true # key f1 provides help for widget with focus
- 530 ! rht_ms_btn_is_help true # right mouse button provides widget help
- 540 ! help_in_popup true # help topics will be displayed in popup window
- 550 !
- 560 !@ Screen Builder widget order
- 570 !# This section defines which widgets are loaded into the Screen Builder
- 580 !# and the order in which they are displayed. The default order matches
- 590 !# that in previous versions of BPLUS; however, a more convenient order
- 600 !# might be alphabetical.
- 610 ! PANEL
- 620 ! PULLDOWN MENU
- 630 ! CASCADE MENU
- 640 ! MENU BUTTON
- 650 ! MENU TOGGLE
- 660 ! MENU SEPARATOR
- 670 ! SEPARATOR
- 680 ! PUSHBUTTON
- 690 ! RADIOBUTTON
- 700 ! TOGGLEBUTTON
- 710 ! SCROLLBAR
- 720 ! LABEL
- 730 ! STRING
- 740 ! NUMBER
- 750 ! KEYPAD
- 760 ! LIST
- 770 ! COMBO
- 780 ! BAR
- 790 ! BARS
- 800 ! FILE
- 810 ! LIMITS
- 820 ! METER
- 830 ! PRINTER
- 840 ! SLIDER
- 850 ! STRIPCHART
- 860 ! XY GRAPH
- 870 ! BITMAP
- 880 ! HPGL VIEW
- 890 ! CLOCK
- 900 !
- 910 !@ logical pens
- 920 !# This logical pen table specifies which physical pen to use for a
- 930 !# specified logical pen. The actual color of the physical pen is
- 940 !# specified in the physical pen table. The contents of this is the
- 950 !# same as previous versions of BPLUS for compatibility; however,
- 960 !# only the following logical pens are used in HTBasic for Windows:
- 970 !# AppBackground, AppTbarForeground, DialogBoxBackground,
- 980 !# DialogBoxForeground, GraphBackground, GraphTrace1, GraphTrace2,
- 990 !# GraphTrace3, GraphTrace4, GraphTrace5, GraphTrace6, GraphTrace7,
- 1000 !# GraphTrace8, GrayForeground, ListBoxBackground, ListBoxForeground,
- 1010 !# ScrollBars, WidgetGreen, WidgetRed, WidgetWhite, WidgetYellow,
- 1020 !# WindowBackground, WindowForeground, WindowFrame.
- 1030 !#
- 1040 !# physical pen for system containing ...
- 1050 !# pen pen name 2 pens 16 pens 64 pens 256 pens
- 1060 ! 0 ActiveBorder 0 14 14 30
- 1070 ! 1 ActiveTitleBar 1 14 14 30
- 1080 ! 2 ActiveTBarForeground 0 1 1 17
- 1090 ! 3 AppBackground 0 9 9 25
- 1100 ! 4 AppBorder 0 14 14 30
- 1110 ! 5 AppTitleBar 0 14 14 30
- 1120 ! 6 AppTBarForeground 1 1 1 17
- 1130 ! 7 ButtonBackground 0 11 11 27
- 1140 ! 8 ButtonForeground 1 0 0 16
- 1150 ! 9 DialogBoxBackground 0 8 8 24
- 1160 ! 10 DialogBoxBorder 1 14 14 30
- 1170 ! 11 DialogBoxForeground 1 1 1 17
- 1180 ! 12 DialogBoxTitleBar 0 13 13 29
- 1190 ! 13 DialogBoxTBarForeground 1 1 1 17
- 1200 ! 14 ErrorTitleBar 0 2 2 18
- 1210 ! 15 GrayForeground 0 15 15 31
- 1220 ! 16 Highlight 1 13 13 29
- 1230 ! 17 HighlightForeground 0 3 3 19
- 1240 ! 18 HyperText 1 6 6 22
- 1250 ! 19 InactiveBorder 0 11 11 27
- 1260 ! 20 InactiveTitleBar 0 11 11 27
- 1270 ! 21 InactiveTBarForeground 1 0 0 16
- 1280 ! 22 ITGDisplayTraceBlue 1 5 5 21
- 1290 ! 23 ITGDIsplayTraceGreen 1 4 4 20
- 1300 ! 24 ITGPushButton 0 12 12 28
- 1310 ! 25 ITGResetButton 0 10 10 26
- 1320 ! 26 ListBoxForeground 1 0 0 16
- 1330 ! 27 ListBoxBackground 0 15 15 31
- 1340 ! 28 MenuBar 0 11 11 27
- 1350 ! 29 MenuForeground 1 0 0 16
- 1360 ! 30 PopupWindowBackground 0 8 8 24
- 1370 ! 31 PopupWindowFrame 1 0 0 16
- 1380 ! 32 PopupWindowForeground 1 1 1 17
- 1390 ! 33 ScrollBars 0 11 11 27
- 1400 ! 34 WindowBackground 0 1 1 17
- 1410 ! 35 WindowFrame 1 0 0 16
- 1420 ! 36 WindowForeground 1 0 0 16
- 1430 ! 37 Workspace 0 15 15 31
- 1440 ! 38 WorkspaceBorder 0 14 14 30
- 1450 ! 39 WorkspaceTitleBar 0 14 14 30
- 1460 ! 40 WorkspaceTBarForeground 1 0 0 16
- 1470 ! 41 WidgetGreen 1 4 4 20
- 1480 ! 42 WidgetYellow 1 3 3 19
- 1490 ! 43 WidgetRed 1 2 2 18
- 1500 ! 44 WidgetWhite 1 1 1 17
- 1510 ! 45 GraphBackground 0 13 13 29
- 1520 ! 46 GraphTrace1 1 3 3 19
- 1530 ! 47 GraphTrace2 1 5 5 21
- 1540 ! 48 GraphTrace3 1 7 7 23
- 1550 ! 49 GraphTrace4 1 4 4 20
- 1560 ! 50 GraphTrace5 1 2 2 18
- 1570 ! 51 GraphTrace6 1 14 14 30
- 1580 ! 52 GraphTrace7 1 11 11 27
- 1590 ! 53 GraphTrace8 1 1 1 17
- 1600 ! 54 RMBBackground 0 0 0 0
- 1610 ! 55 AppBackgroundCmp 1 6 54 230
- 1620 ! 56 WindowBackgroundCmp 1 14 62 238
- 1630 ! 57 PopupBackgroundCmp 1 7 55 231
- 1640 ! 58 DialogBoxBackgroundCmp 1 7 55 231
- 1650 !
- 1660 !@ settable pens
- 1670 !# This section specifies which pens BPLUS is allowed to set. The
- 1680 !# default is all pens. You should minimally allow the pens referenced
- 1690 !# by the above logical pen table (those pens are listed first in the
- 1700 !# following lists). Some widgets require more colors than those defined
- 1710 !# in the logical pen table: those additional colors will be allocated
- 1720 !# from the list of settable pens. However, a logical pen's color will
- 1730 !# never be changed. If a widget wants more colors than are settable, it
- 1740 !# will use existing colors on a closest match basis.
- 1750 !#
- 1760 ! 16_pen_system 0-15
- 1770 ! 64_pen_system 0-15, 54, 55, 62, 16-63
- 1780 ! 256_pen_system 16-31, 230, 231, 238, 0-15, 32-255
- 1790 !
- 1800 !@ physical pens
- 1810 !# This physical pen table specifies the color map value set for a
- 1820 !# specified physical pen. If an entry for a required pen isn't
- 1830 !# currently provided in the table (e.g., pens 32-47), insert as
- 1840 !# required. The actual display's color map is only altered for the pens
- 1850 !# that are referenced by a logical pen from the above logical pen table
- 1860 !# and are settable as specified above for the current graphics system
- 1870 !# (2-pen, 16-pen, 64-pen, or 256-pen).
- 1880 !#
- 1890 !# PEN COLOR RED GREEN BLUE
- 1900 ! 0 black 0 0 0
- 1910 ! 1 white 255 255 255
- 1920 ! 2 red 255 0 0
- 1930 ! 3 yellow 255 255 0
- 1940 ! 4 green 0 255 0
- 1950 ! 5 cyan 0 255 255
- 1960 ! 6 blue 0 0 255
- 1970 ! 7 magenta 255 0 255
- 1980 ! 8 dialog gray 162 156 146
- 1990 ! 9 parchment white 220 211 184
- 2000 ! 10 forest green 70 180 70
- 2010 ! 11 inactive gray 176 174 169
- 2020 ! 12 evening gold 150 110 75
- 2030 ! 13 french gray 105 95 80
- 2040 ! 14 lavender 119 123 200
- 2050 ! 15 beige gray 148 139 123
- 2060 !
- 2070 ! 16 black 0 0 0
- 2080 ! 17 white 255 255 255
- 2090 ! 18 red 255 0 0
- 2100 ! 19 yellow 255 255 0
- 2110 ! 20 green 0 255 0
- 2120 ! 21 cyan 0 255 255
- 2130 ! 22 blue 0 0 255
- 2140 ! 23 magenta 255 0 255
- 2150 ! 24 dialog gray 162 156 146
- 2160 ! 25 parchment white 220 211 184
- 2170 ! 26 forest green 70 180 70
- 2180 ! 27 inactive gray 176 174 169
- 2190 ! 28 evening gold 150 110 75
- 2200 ! 29 french gray 105 95 80
- 2210 ! 30 lavender 119 123 200
- 2220 ! 31 beige gray 148 139 123
- 2230 !
- 2240 ! 48 black 0 0 0
- 2250 ! 49 white 255 255 255
- 2260 ! 50 red 255 0 0
- 2270 ! 51 yellow 255 255 0
- 2280 ! 52 green 0 255 0
- 2290 ! 53 cyan 0 255 255
- 2300 ! 54 blue 0 0 255
- 2310 ! 55 magenta 255 0 255
- 2320 ! 56 dialog gray 162 156 146
- 2330 ! 57 parchment white 220 211 184
- 2340 ! 58 forest green 70 180 70
- 2350 ! 59 inactive gray 176 174 169
- 2360 ! 60 evening gold 150 110 75
- 2370 ! 61 french gray 105 95 80
- 2380 ! 62 lavender 119 123 200
- 2390 ! 63 beige gray 148 139 123
- 2400 !
- 2410 ! 240 black 0 0 0
- 2420 ! 241 white 255 255 255
- 2430 ! 242 red 255 0 0
- 2440 ! 243 yellow 255 255 0
- 2450 ! 244 green 0 255 0
- 2460 ! 245 cyan 0 255 255
- 2470 ! 246 blue 0 0 255
- 2480 ! 247 magenta 255 0 255
- 2490 ! 248 dialog gray 162 156 146
- 2500 ! 249 parchment white 220 211 184
- 2510 ! 250 forest green 70 180 70
- 2520 ! 251 inactive gray 176 174 169
- 2530 ! 252 evening gold 150 110 75
- 2540 ! 253 french gray 105 95 80
- 2550 ! 254 lavender 119 123 200
- 2560 ! 255 beige gray 148 139 123
-